package com.nanjia.boot.certificatetype.converter;

import com.nanjia.boot.certificatetype.model.entity.CertificateType;
import com.nanjia.boot.certificatetype.model.form.CertificateTypeForm;
import org.mapstruct.Mapper;

/**
 * 证件类型对象转换器
 *
 * @author 周洋
 * @since 2025-06-13 10:14
 */
@Mapper(componentModel = "spring")
public interface CertificateTypeConverter{

    CertificateTypeForm toForm(CertificateType entity);

    CertificateType toEntity(CertificateTypeForm formData);
}